<?php
/**
 * Created by PhpStorm.
 * User: 彭奇
 * Date: 2018/9/21
 * Time: 16:04
 */
include 'zuoye1.php';
$teach1=new teach();
$teach1->name="李";
$teach1->age=28;
$teach1->sex="男";
echo $teach1->js();

echo "<br>";

$teach2=new teach();
$teach2->name="王";
$teach2->age=28;
$teach2->sex="女";
echo $teach2->js();